package com.turnengine.client.local.faction.bean;

import com.javabi.codebuilder.generated.IGeneratedBean;
import com.turnengine.client.local.faction.enums.FactionUnited;

/**
 * The I Faction.
 */
public interface IFaction extends IGeneratedBean, Comparable<IFaction> {

	/**
	 * Returns the id.
	 * @return the id.
	 */
	int getId();

	/**
	 * Returns the name.
	 * @return the name.
	 */
	String getName();

	/**
	 * Returns the password.
	 * @return the password.
	 */
	String getPassword();

	/**
	 * Returns the united.
	 * @return the united.
	 */
	FactionUnited getUnited();

	/**
	 * Returns the player limit.
	 * @return the player limit.
	 */
	int getPlayerLimit();

	/**
	 * Sets the id.
	 * @param id the id to set.
	 */
	void setId(int id);

	/**
	 * Sets the name.
	 * @param name the name to set.
	 */
	void setName(String name);

	/**
	 * Sets the password.
	 * @param password the password to set.
	 */
	void setPassword(String password);

	/**
	 * Sets the united.
	 * @param united the united to set.
	 */
	void setUnited(FactionUnited united);

	/**
	 * Sets the player limit.
	 * @param playerLimit the player limit to set.
	 */
	void setPlayerLimit(int playerLimit);
}
